0196f86a0cdb0524c96a9fee7e13fd798ca33cca,Common/Frameworks/ERExtensions/Sources/er/extensions/ERXApplication.java,ERXApplication,bundleDidLoad,#NSNotification#,141

Before Change



    	if(allFrameworks.size() == 0) {
    		Properties mainProps = null;
    		if(NSBundle.mainBundle() != null) {
    			mainProps = NSBundle.mainBundle().properties();
    		} 
    		if(mainProps == null) {

After Change


            	mainBundle = NSBundle.bundleForName(mainBundleName);
            } 
            if(mainBundle == null) {
            	mainBundle = NSBundle.mainBundle();
            }
            if(mainBundle == null) {
            	// AK: when we get here, the main bundle wasn't inited yet
            	// so we do it ourself...
            	try {